package cn.wolfcode.service;

import cn.wolfcode.domain.Business;
import cn.wolfcode.qo.BusinessQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBusinessService {
    void delete(Long id);
    void insert(Business business);
    Business get(Long id);
    List<Business> listAll();
    void update(Business business);
    // 添加分页和过滤查询功能
    PageInfo<Business> query(BusinessQueryObject qo);

    // 查询主店
    Business queryMainStore();
}
